﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace User.Api.Dto.Book
{
    public class GetBookInfoResponse:BaseResponse
    {
        public GetBookInfoResponse()
        {
            BookInfos = new List<BookInfo>();
        }
        public List<BookInfo> BookInfos { get; set; } 

        public class BookInfo
        {
            /// <summary>
            /// 预约流水号
            /// </summary>
            public string FlowNo { get; set; }

            /// <summary>
            /// 诊疗卡号
            /// </summary>
            public string CardNo { get; set; }

            /// <summary>
            /// 预约时留的电话号码
            /// </summary>
            public string Phone { get; set; }

            /// <summary>
            /// 科室名
            /// </summary>
            public string DeptName { get; set; }

            /// <summary>
            /// 医生名
            /// </summary>
            public string DoctorName { get; set; }

            /// <summary>
            /// 挂号类型:普通/专科/专家，默认填写普通
            /// </summary>
            public string RegType { get; set; }

            /// <summary>
            /// 预约时间
            /// </summary>
            public string BookTime { get; set; }

            /// <summary>
            /// 预约时段开始时间点
            /// </summary>
            public string BookStartTime { get; set; }

            /// <summary>
            /// 预约时段结束时间点
            /// </summary>
            public string BookEndTime { get; set; }

            /// <summary>
            /// 预约号
            /// </summary>
            public string BookNo { get; set; }

            /// <summary>
            /// 状态:未生效/已报到/作废/过期
            /// </summary>
            public string State { get; set; }

            /// <summary>
            /// 能否取消预约
            /// </summary>
            public bool CanCancelBook { get; set; }

            /// <summary>
            /// 能否报到
            /// </summary>
            public bool CanCheckIn { get; set; }
        }
    }
}